package com.wey.controller;

import com.wey.service.IRedBaoServer;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
@RequestMapping("/redBao")
@Api(tags = "红包控制器")
public class RedBaoController {

    @Resource
    private IRedBaoServer redBaoServer;

    @GetMapping("/get")
    public String get() {
        return redBaoServer.get("wey");
    }
}
